<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Show extends CI_Controller {
    
    public function __construct()
    {
            parent::__construct();
            
    }        
    public function cities( $info = '' )
    {     
        $this->load->model('cities_model');
        $builder = new CI_TemplateBuilder();

              $cities = $this->cities_model->list_sities();
              $data['cities'] = $cities;
              $data['title'] = 'Show Cities';
              $data['info'] = $info;
              $builder->admin_template_builder('cities/list' , $data);
    }
    
    public function users( $info = '' )
    {     
        $this->load->model('users_model');
        $builder = new CI_TemplateBuilder();

              $users = $this->users_model->list_users();
              $data['users'] = $users;
              $data['title'] = 'Show Users';
              $data['info'] = $info;
              $builder->admin_template_builder('users/list' , $data);
    }    
        
        
    
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */